package com.dearbinge.data.dao.thumbsCommission;

import com.baomidou.mybatisplus.plugins.Page;
import com.dearbinge.data.pojo.thumbsCommission.ThumbsCommission;
import com.dearbinge.data.pojo.thumbsCommission.vo.ThumbsCommissionVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface ThumbsCommissionMapper {
    Integer update(ThumbsCommission thumbsCommission);

    Integer insert(ThumbsCommission thumbsCommission);

    Integer delete(Integer id);

    List<ThumbsCommissionVO> listThumbsCommissionByUserId(String userId, Page page);

    Integer countThumbsCommissionByUserId(String userId);
}
